import { isEmpowerment } from './../../../../@shared/pipes/isEmpowerment.pipe';
import { PostRole } from './../../../../@core/data/role';
import { Component, Input } from '@angular/core';

@Component({
  selector: 'app-add-role',
  templateUrl: './add-role.component.html',
  styleUrls: ['./add-role.component.scss']
})
export class AddRoleComponent {
  @Input() data:any
  enable = false;
  radioValue='否';
  PostRole:PostRole={
    name:'',
    isEnable:false
  }
  ngOnInit(): void {
    
  }
  valueChange(value:any){
    this.PostRole.isEnable = value
  }
}
